﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${webpage['title']} - ${webpage['now']}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> 
<script type="text/javascript" src="/editor/xheditor-zh-cn.min.js"></script> 
<link href="/admin/style/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header mB10">
  <div class="wrapper">
    <div class="logo12345">
				<h1>${webpage['title']}</h1>
				<h4>${webpage['subtitle']}</h4>	
			</div>
    <div class="fRight">
      <div class="topBar">
        <ul class="userMenu">
        <li><a href="/" title="返回首页">返回首页</a></li>
        </ul>
        <span>
        <script type="text/javascript">
           	var now=(new Date()).getHours();
			if(now>0&&now<=6){
				document.write("午夜好，");
			}else if(now>6&&now<=11){
				document.write("早上好，");
			}else if(now>11&&now<=14){
				document.write("中午好，");
			}else if(now>14&&now<=18){
				document.write("下午好，");
			}else{
				document.write("晚上好，");
			}
			</script>
        <i>${username}</i><a href="<% from google.appengine.api import users %>${ users.create_logout_url("/blog") }" style="color:#fff;">注销</a></span> </div>
      <div class="clear"></div>
      <div class="navMenu">
        <ul class="heaNav">
			<li class="middle"><a href="/admincp/config" title="站点设置">站点设置</a></li>
          <li class="middle"><a href="/admincp/blog/" title="文章管理">文章管理</a></li>
		  <li class="middle"><a href="/admincp/guestbook/" title="留言管理">留言管理</a></li>
		  <li class="middle"><a href="/admincp/comment/" title="评论管理">评论管理</a></li>
        </ul>
        <div class="clear"></div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
</div>
